<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>StatSVN - /trunk Developers: theafreer@gmail.com</title>
 <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
    <meta name="Generator" content="StatSVN 0.7.0"/>
<link rel="stylesheet" href="objectlab-statcvs.css" type="text/css"/>
<script type="text/javascript" charset="utf-8" src="http://bit.ly/javascript-api.js?version=latest&#38;login=statsvn&#38;apiKey=R_2c362b417d0517c27876cbaca1bb68cc"></script>
<script type="text/javascript" charset="utf-8">
   // wait until page is loaded to call API
   var redir_url;
   var short_url;
   BitlyCB.myShortenCallback = function(data) {
      // this is how to get a result of shortening a single url
      var result;
      short_url=null;
      for (var r in data.results) {
         result = data.results[r];
         result['longUrl'] = r;
         short_url = result['shortUrl'];
         break;
      }
      if (short_url==null) // bit.ly failed
      document.location=redir_url;
      else
      redirToTwitter();
   };
   function shortenTweet(url) {
      if (short_url == null || redir_url!=url) {
      redir_url = url;
      BitlyClient.shorten(document.location, 'BitlyCB.myShortenCallback');
      }
      else
      redirToTwitter();
      return false;
   }
   function redirToTwitter() { 
      // replace {0} which is visible as %7B0} in the link
      document.location = redir_url.replace('%7B0}', short_url);
   }
</script>
  </head>

<body>

<h1>/trunk Developers: theafreer@gmail.com</h1>
<div id="parentlink">&#171; <a href="index.html">Development Statistics for /trunk</a> &#171; <a href="developers.html">Developers</a></div>
<dl class="attributes">
    <dt>Login name:</dt>
    <dd>theafreer@gmail.com</dd>
    <dt>Total Commits:</dt>
    <dd>520 (48.8%)</dd>
    <dt>Lines of Code:</dt>
    <dd>27,189 (49.1%)</dd>
    <dt>Most Recent Commit:</dt>
    <dd><span class="date">2011-03-07 21:41</span></dd>
    <dt>Tweet this:</dt>
    <dd><a onclick="return shortenTweet(this.href);" href="http://twitter.com/home?status=theafreer%40gmail.com%20contributed%2027%2C189%20(49.1%25)%20lines%20to%20%2Ftrunk%20%7B0}%20most%20recent%20commit%202011-03-07%20stats%20by%20StatSVN%20http%3A%2F%2Fstatsvn.org"><img style="border:0px" alt="Tweet this" src="tweet-this.png"/></a></dd>
</dl>

<div class="section">
<h2>Activity by Clock Time</h2>
<p class="chart"><img src="activity_time_theafreer@gmail.com.png" alt="Activity by Hour of Day for theafreer@gmail.com" width="800" height="500" /></p><p class="chart"><img src="activity_day_theafreer@gmail.com.png" alt="Activity by Day of Week for theafreer@gmail.com" width="800" height="500" /></p></div>
<div class="section">
<h2>Activity in Directories</h2>
  <table  rules="groups" summary="Overview of this author's activities in different directories">
    <colgroup align="left"/>
    <colgroup align="right"/>
    <colgroup align="right"/>
    <colgroup align="right"/>
    <thead>
      <tr>
        <th>Directory</th>
        <th>Changes</th>
        <th>Lines of Code</th>
        <th>Lines per Change</th>
      </tr>
    </thead>
    <tfoot>
      <tr>
        <th>Totals</th>
        <td>520 (100.0%)</td>
        <td>27189 (100.0%)</td>
        <td>52.2</td>
      </tr>
    </tfoot>
    <tbody>
      <tr  class="odd">
        <th><a href="dir_2011_src.html" class="directory">2011/src/</a></th>
        <td>502 (96.5%)</td>
        <td>19243 (70.8%)</td>
        <td>38.3</td>
      </tr>
      <tr  class="even">
        <th><a href="dir_2011_dxdiagntest.html" class="directory">2011/dxdiagntest/</a></th>
        <td>9 (1.7%)</td>
        <td>6839 (25.2%)</td>
        <td>759.8</td>
      </tr>
      <tr  class="odd">
        <th><a href="dir_2011_src_tests_sample-files.html" class="directory">2011/src/tests/sample-files/</a></th>
        <td>2 (0.4%)</td>
        <td>684 (2.5%)</td>
        <td>342.0</td>
      </tr>
      <tr  class="even">
        <th><a href="dir_2011_include.html" class="directory">2011/include/</a></th>
        <td>5 (1.0%)</td>
        <td>423 (1.6%)</td>
        <td>84.6</td>
      </tr>
      <tr  class="odd">
        <th><a href="dir_2011_lib.html" class="directory">2011/lib/</a></th>
        <td>2 (0.4%)</td>
        <td>0 (0.0%)</td>
        <td>0.0</td>
      </tr>
    </tbody>
  </table>

<p class="chart"><img src="directory_sizes_theafreer@gmail.com.png" alt="Activity of theafreer@gmail.com" width="800" height="500" /></p></div>
<div class="section">
<h2>Most Recent Commits</h2>
<dl class="commitlist">
  <dt><a name="20"></a>
    <a href="user_theafreer@gmail.com.html" class="author">theafreer@gmail.com</a>
    <span class="date">2011-03-07 21:41</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">419</span></span>
  </dt>
  <dd>
    <p class="comment">
Added WIN32_LEAN_AND_MEAN definition: it reduces the size of windows header files (removing uncommon libraries).  Added &lt;commdlg.h&gt; inclusion to main_dialog.c to resolve a build error.
    </p>
    <p class="commitdetails"><strong>2</strong> lines of code changed in <span class="files">2 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>2011/src</strong>:
        main_dialog.c&#160;<span class="change">(+1)</span>,
        resources.h&#160;<span class="change">(+1&#160;-10)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="19"></a>
    <a href="user_theafreer@gmail.com.html" class="author">theafreer@gmail.com</a>
    <span class="date">2011-03-04 22:25</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">381</span></span>
  </dt>
  <dd>
    <p class="comment">
Added call to necessary VariantInit() function
    </p>
    <p class="commitdetails"><strong>1</strong> lines of code changed in <span class="files">3 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>2011/src</strong>:
        dxdiagcom.c&#160;<span class="change">(+1)</span>,
        utility.c&#160;<span class="change">(-7)</span>,
        utility.h&#160;<span class="change">(-5)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="18"></a>
    <a href="user_theafreer@gmail.com.html" class="author">theafreer@gmail.com</a>
    <span class="date">2011-03-04 22:09</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">380</span></span>
  </dt>
  <dd>
    <p class="comment">
Corrected tab.c logical error, accessing bad memory
    </p>
    <p class="commitdetails"><strong>13</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>2011/src</strong>:
        tab.c&#160;<span class="change">(+13&#160;-13)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="17"></a>
    <a href="user_theafreer@gmail.com.html" class="author">theafreer@gmail.com</a>
    <span class="date">2011-03-04 20:39</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">378</span></span>
  </dt>
  <dd>
    <p class="comment">
Removed incorrect comment
    </p>
    <p class="commitdetails"><strong>1</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>2011/src</strong>:
        sound_tab.c&#160;<span class="change">(+1&#160;-3)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="16"></a>
    <a href="user_theafreer@gmail.com.html" class="author">theafreer@gmail.com</a>
    <span class="date">2011-03-04 20:38</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">377</span></span>
  </dt>
  <dd>
    <p class="comment">
Added helper function get_resource_string in utility.c that returns a pointer to a resource string
    </p>
    <p class="commitdetails"><strong>19</strong> lines of code changed in <span class="files">4 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>2011/src</strong>:
        directxfiles_tab.c&#160;<span class="change">(+1&#160;-1)</span>,
        sound_tab.c&#160;<span class="change">(+1&#160;-1)</span>,
        utility.c&#160;<span class="change">(+11&#160;-5)</span>,
        utility.h&#160;<span class="change">(+6&#160;-1)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="15"></a>
    <a href="user_theafreer@gmail.com.html" class="author">theafreer@gmail.com</a>
    <span class="date">2011-03-04 20:15</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">376</span></span>
  </dt>
  <dd>
    <p class="comment">
Commented stack allocations, as they are an optimization
    </p>
    <p class="commitdetails"><strong>6</strong> lines of code changed in <span class="files">3 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>2011/src</strong>:
        dxdiagcom.c&#160;<span class="change">(+3)</span>,
        main_dialog.c&#160;<span class="change">(+2)</span>,
        utility.c&#160;<span class="change">(+1)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="14"></a>
    <a href="user_theafreer@gmail.com.html" class="author">theafreer@gmail.com</a>
    <span class="date">2011-03-04 20:03</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">375</span></span>
  </dt>
  <dd>
    <p class="comment">
When using LoadStringW, set the input character buffer length to 0 to receive a pointer to the resource.  Wine does not support NULL terminated resource strings by default like Windows rc compiler does (-n option), so we approximate by terminating all STRINGTABLE resources with null characters (\0).  This eliminates the need for a constricting MAX_STRING_LEN assumption, generally eliminates the need for string copying, etc, and overall seems a better style.  Hopefully it will eliminate the heap corruption observed by Dan Kegel.
    </p>
    <p class="commitdetails"><strong>1376</strong> lines of code changed in <span class="files">22 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>2011/src</strong>:
        De.rc&#160;<span class="change">(+2&#160;-2)</span>,
        En.rc&#160;<span class="change">(+520&#160;-520)</span>,
        cmdline.c&#160;<span class="change">(+2&#160;-2)</span>,
        directxfiles_tab.c&#160;<span class="change">(+272&#160;-488)</span>,
        directxfiles_tab.h&#160;<span class="change">(+40&#160;-52)</span>,
        directxfiles_tab.rc&#160;<span class="change">(+2&#160;-2)</span>,
        displayrsrc.rc&#160;<span class="change">(+1&#160;-1)</span>,
        dxdiagcom.c&#160;<span class="change">(+141&#160;-237)</span>,
        dxdiagcom.h&#160;<span class="change">(+1&#160;-1)</span>,
        input_tab.c&#160;<span class="change">(+6&#160;-6)</span>,
        input_tab.rc&#160;<span class="change">(+2&#160;-2)</span>,
        main.c&#160;<span class="change">(+3&#160;-4)</span>,
        main_dialog.c&#160;<span class="change">(+28&#160;-50)</span>,
        main_dialog.h&#160;<span class="change">(-1)</span>,
        main_dialog.rc&#160;<span class="change">(+2&#160;-2)</span>,
        sound_tab.c&#160;<span class="change">(+8&#160;-6)</span>,
        sound_tab.rc&#160;<span class="change">(+2&#160;-2)</span>,
        system_tab.rc&#160;<span class="change">(+2&#160;-2)</span>,
        tab.c&#160;<span class="change">(+78&#160;-126)</span>,
        tab.h&#160;<span class="change">(+51&#160;-70)</span>,
        utility.c&#160;<span class="change">(+127&#160;-202)</span>,
        utility.h&#160;<span class="change">(+86&#160;-92)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="13"></a>
    <a href="user_theafreer@gmail.com.html" class="author">theafreer@gmail.com</a>
    <span class="date">2011-03-04 05:08</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">364</span></span>
  </dt>
  <dd>
    <p class="comment">
Ran indent -kr &amp; expand on all files
    </p>
    <p class="commitdetails"><strong>2549</strong> lines of code changed in <span class="files">26 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>2011/src</strong>:
        cmdline.c&#160;<span class="change">(+25&#160;-31)</span>,
        cmdline.h&#160;<span class="change">(+3&#160;-4)</span>,
        d3dx9test.c&#160;<span class="change">(-1)</span>,
        directxfiles_tab.c&#160;<span class="change">(+468&#160;-237)</span>,
        directxfiles_tab.h&#160;<span class="change">(+26&#160;-19)</span>,
        display.c&#160;<span class="change">(+38&#160;-35)</span>,
        display.h&#160;<span class="change">(+2&#160;-4)</span>,
        displaydialog.c&#160;<span class="change">(+120&#160;-59)</span>,
        displaydialog.h&#160;<span class="change">(+2&#160;-1)</span>,
        dxdiagcom.c&#160;<span class="change">(+887&#160;-745)</span>,
        dxdiagcom.h&#160;<span class="change">(+25&#160;-44)</span>,
        globals.c&#160;<span class="change">(+8&#160;-6)</span>,
        globals.h&#160;<span class="change">(+5&#160;-5)</span>,
        input_tab.c&#160;<span class="change">(+101&#160;-77)</span>,
        input_tab.h&#160;<span class="change">(+2&#160;-2)</span>,
        main.c&#160;<span class="change">(+51&#160;-41)</span>,
        main_dialog.c&#160;<span class="change">(+76&#160;-58)</span>,
        main_dialog.h&#160;<span class="change">(+11&#160;-10)</span>,
        sound_tab.c&#160;<span class="change">(+124&#160;-119)</span>,
        sound_tab.h&#160;<span class="change">(+5&#160;-5)</span>,
        system_tab.c&#160;<span class="change">(+176&#160;-135)</span>,
        system_tab.h&#160;<span class="change">(+1&#160;-1)</span>,
        tab.c&#160;<span class="change">(+109&#160;-56)</span>,
        tab.h&#160;<span class="change">(+42&#160;-26)</span>,
        utility.c&#160;<span class="change">(+204&#160;-102)</span>,
        utility.h&#160;<span class="change">(+38&#160;-26)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="12"></a>
    <a href="user_theafreer@gmail.com.html" class="author">theafreer@gmail.com</a>
    <span class="date">2011-03-04 05:04</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">363</span></span>
  </dt>
  <dd>
    <p class="comment">
Removed asserts after malloc/calloc
    </p>
    <p class="commitdetails"><strong>1</strong> lines of code changed in <span class="files">3 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>2011/src</strong>:
        main.c&#160;<span class="change">(-1)</span>,
        sound_tab.c&#160;<span class="change">(-1)</span>,
        utility.c&#160;<span class="change">(+1&#160;-1)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="11"></a>
    <a href="user_theafreer@gmail.com.html" class="author">theafreer@gmail.com</a>
    <span class="date">2011-03-04 04:33</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">362</span></span>
  </dt>
  <dd>
    <p class="comment">
Modified sound tab HSAL slider to not be shown if HSAL is invalid
    </p>
    <p class="commitdetails"><strong>3</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>2011/src</strong>:
        sound_tab.c&#160;<span class="change">(+3&#160;-3)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="10"></a>
    <a href="user_theafreer@gmail.com.html" class="author">theafreer@gmail.com</a>
    <span class="date">2011-03-04 04:10</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">361</span></span>
  </dt>
  <dd>
    <p class="comment">
DirectXFiles tab now sorts ascending/descending as expected
    </p>
    <p class="commitdetails"><strong>54</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>2011/src</strong>:
        directxfiles_tab.c&#160;<span class="change">(+54&#160;-14)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="9"></a>
    <a href="user_theafreer@gmail.com.html" class="author">theafreer@gmail.com</a>
    <span class="date">2011-03-04 03:39</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">360</span></span>
  </dt>
  <dd>
    <p class="comment">
DirectXFiles tab now displaying images and sorting properly, although currently only sorts ascending.
    </p>
    <p class="commitdetails"><strong>14</strong> lines of code changed in <span class="files">3 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>2011/src</strong>:
        directxfiles_tab.c&#160;<span class="change">(+8&#160;-4)</span>,
        globals.c&#160;<span class="change">(+4)</span>,
        globals.h&#160;<span class="change">(+2)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="8"></a>
    <a href="user_theafreer@gmail.com.html" class="author">theafreer@gmail.com</a>
    <span class="date">2011-03-04 03:03</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">359</span></span>
  </dt>
  <dd>
    <p class="comment">
Images are finally working!  Beware getting the order wrong on WPARAM and LPARAM arguments in SendMessageW() calls.  There's no type checking...
    </p>
    <p class="commitdetails"><strong>2</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>2011/src</strong>:
        directxfiles_tab.c&#160;<span class="change">(+2&#160;-3)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="7"></a>
    <a href="user_theafreer@gmail.com.html" class="author">theafreer@gmail.com</a>
    <span class="date">2011-03-04 02:13</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">357</span></span>
  </dt>
  <dd>
    <p class="comment">
Fixed compilation issues under wine build tree.  Please regenerate Makefile.in
    </p>
    <p class="commitdetails"><strong>3</strong> lines of code changed in <span class="files">2 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>2011/src</strong>:
        Makefile.in&#160;<span class="change">(+1&#160;-1)</span>,
        directxfiles_tab.c&#160;<span class="change">(+2&#160;-2)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="6"></a>
    <a href="user_theafreer@gmail.com.html" class="author">theafreer@gmail.com</a>
    <span class="date">2011-03-04 02:04</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">356</span></span>
  </dt>
  <dd>
    <p class="comment">
Oops on the previous commit, clearly I am exhausted.  NOW building should work cleanly with both MinGW and Wine
    </p>
    <p class="commitdetails"><strong>3</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>2011/src</strong>:
        main.c&#160;<span class="change">(+3&#160;-3)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="5"></a>
    <a href="user_theafreer@gmail.com.html" class="author">theafreer@gmail.com</a>
    <span class="date">2011-03-04 02:00</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">355</span></span>
  </dt>
  <dd>
    <p class="comment">
Resolved issue with MinGW not supporting wWinMain
    </p>
    <p class="commitdetails"><strong>5</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>2011/src</strong>:
        main.c&#160;<span class="change">(+5)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="4"></a>
    <a href="user_theafreer@gmail.com.html" class="author">theafreer@gmail.com</a>
    <span class="date">2011-03-04 01:37</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">354</span></span>
  </dt>
  <dd>
    <p class="comment">
Attempted to repair build.sh to allow Windows development.  Almost there, just need to resolve the wWinMain issue.
    </p>
    <p class="commitdetails"><strong>11</strong> lines of code changed in <span class="files">2 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>2011/src</strong>:
        build.sh&#160;<span class="change">(+9&#160;-9)</span>,
        directxfiles_tab.c&#160;<span class="change">(+2&#160;-2)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="3"></a>
    <a href="user_theafreer@gmail.com.html" class="author">theafreer@gmail.com</a>
    <span class="date">2011-03-04 01:12</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">353</span></span>
  </dt>
  <dd>
    <p class="comment">
More work on DirectX Files tab: attempting to get warning images to work.  Not there yet.
    </p>
    <p class="commitdetails"><strong>17</strong> lines of code changed in <span class="files">2 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>2011/src</strong>:
        directxfiles_tab.c&#160;<span class="change">(+15&#160;-11)</span>,
        dxdiagcom.c&#160;<span class="change">(+2&#160;-1)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="2"></a>
    <a href="user_theafreer@gmail.com.html" class="author">theafreer@gmail.com</a>
    <span class="date">2011-03-04 00:01</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">352</span></span>
  </dt>
  <dd>
    <p class="comment">
Changed function names in dxdiagcom.c to match agreed upon convention
    </p>
    <p class="commitdetails"><strong>552</strong> lines of code changed in <span class="files">3 files</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>2011/src</strong>:
        dxdiagcom.c&#160;<span class="change">(+548&#160;-548)</span>,
        dxdiagcom.h&#160;<span class="change">(+2&#160;-2)</span>,
        main.c&#160;<span class="change">(+2&#160;-2)</span>
      </li>
    </ul>
  </dd>

  <dt><a name="1"></a>
    <a href="user_theafreer@gmail.com.html" class="author">theafreer@gmail.com</a>
    <span class="date">2011-03-03 23:47</span>
    <span class="revisionNumberOuter">Rev.: <span class="revisionNumberInner">351</span></span>
  </dt>
  <dd>
    <p class="comment">
Changed function names in main.c to match agreed upon convention
    </p>
    <p class="commitdetails"><strong>5</strong> lines of code changed in <span class="files">1 file</span>:</p>
    <ul class="commitdetails">
      <li>
        <strong>2011/src</strong>:
        main.c&#160;<span class="change">(+5&#160;-5)</span>
      </li>
    </ul>
  </dd>

</dl>

<p>(82 more)</p>
</div><div id="generatedby">Generated by <a href="http://www.statsvn.org">StatSVN</a> 0.7.0</div>
</body>
</html>